package com.csx.governance.traffic.route.swimlane;

import com.csx.governance.traffic.route.model.swimlane.SwimLaneDefinition;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.ArrayList;

/**
 * 泳道定义配置
 * @author cuisongxu
 * @date 2023/2/23 15:51
 */
@RefreshScope
@ConfigurationProperties(prefix = SwimLaneDefinitionsConfiguration.PREFIX)
public class SwimLaneDefinitionsConfiguration extends ArrayList<SwimLaneDefinition> {

    public static final String PREFIX = "traffic.governance.swim-lane-definitions";

}
